package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.NgsWkzbq3;
import com.zhijian.medical.entity.vo.request.NgsWkzbq3SearchVo;
import com.zhijian.medical.entity.vo.response.NgsWkzbq3Vo;

import java.util.List;

public interface NgsWkzbq3Mapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据实验id删除
     *
     * @param ngsId
     * @return
     */
    int deleteByNgsId(Long ngsId);

    int insert(NgsWkzbq3 record);

    int insertSelective(NgsWkzbq3 record);

    NgsWkzbq3 selectByPrimaryKey(Long id);

    /**
     * 根据实验id查询po
     *
     * @param ngsId
     * @return
     */
    NgsWkzbq3 selectByNgsId(Long ngsId);

    int updateByPrimaryKeySelective(NgsWkzbq3 record);

    int updateByPrimaryKey(NgsWkzbq3 record);

    int count(NgsWkzbq3SearchVo ngsWkzbq3SearchVo);

    List<NgsWkzbq3Vo> selectList(NgsWkzbq3SearchVo ngsWkzbq3SearchVo);

    NgsWkzbq3Vo selectVoById(Long id);

    /**
     * 根据实验id查询vo
     *
     * @param ngsId
     * @return
     */
    NgsWkzbq3Vo selectVoByNgsId(Long ngsId);

}